package com.ryskoo.customer.customerlevel.service;

import com.ryskoo.customer.customerlevel.domain.CustomerLevelPO;
import com.ryskoo.customer.customerlevel.repository.ICustomerLevelRepository;
import com.ryskoo.framework.core.service.BasicServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.PostConstruct;

/**
 * 会员等级业务基础处理
 * 
 * @author huanghe
 *
 */
@Service
@Transactional
public class CustomerLevelServiceImpl extends BasicServiceImpl<CustomerLevelPO> implements ICustomerLevelService {

	@Autowired
	private ICustomerLevelRepository customerLevelRepository;

	@PostConstruct
	public void init() {
		this.setDao(customerLevelRepository);
	}

}
